package top.lwaiting.service;

import top.lwaiting.bean.OrderBean;

/**
 * @Description TODO
 * @ClassName OrderService
 * @Author Yang
 * @Date 2025/5/28 18:01
 * @Version 1.0
 */
public interface OrderService {

    /**
     * 创建订单
     * @param productId {@link Long} 商品编号
     * @param userId {@link Long} 用户编号
     * @return {@link OrderBean}
     */
    OrderBean createOrder(Long productId, Long userId);
}
